package com.dingreading.cloud.soms.service;

import com.mybatisflex.core.service.IService;
import com.dingreading.cloud.soms.entity.ReceiptRegisterImg;

import java.util.List;

/**
 *  服务层。
 *
 * @author Administrator
 * @since 2025-05-26
 */
public interface ReceiptRegisterImgService extends IService<ReceiptRegisterImg> {

    boolean unbindReceipt(String storeUid, String orderCode, String receiptUid, String staffUid, String staffName);

    List<String> urlListByReceiptUidAndIdsNotIn(String storeUid, String receiptUid, List<Long> ids);

    int deleteByReceiptUidNotIn(String storeUid, String receiptUid, List<Long> ids);

    List<String> urlListByReceiptUid(String storeUid, String receiptUid);

    int deleteByReceiptUid(String storeUid, String receiptUid);

    boolean updateInfo(String storeUid, String orderCode, String receiptUid, String staffUid, String staffName);
}
